package cn.chen.service;

import cn.chen.model.User;

import java.util.List;

public interface FollowUserService {
    //关注
    void follow(Integer userId,Integer followUserId);
    //取消关注
    void disFollow(Integer userId,Integer followUserId);
    //判断是否关注
    Boolean isFollow(Integer userId,Integer followUserId);
    //根据用户id获取该用户关注的作者列表
    List<User> getFollowUsersByUid(Integer userId);
    //根据用户id获取该用户的粉丝
    List<User> getUsersByFollowUid(Integer followUserId);
}
